<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    a{
        width: 100px;
        height: 100px;
        background-color: aquamarine;
        display: block;
        /* 将标签样式改成块标签 */
    }
    button{
        width: 100px;
        height: 100px;
        background-color: aquamarine;
        display: block;
    }
    </style>
</head>
<body>
    <!-- display:block 隐藏自带block -->
    <div>div</div>
    <!-- display:inline -->
    <a href="#">a</a>
    <!-- display,inline-block -->
    <button>btn</button>
</body>
</html>